Paula Patton has filed for custody changes in court on Thursday and a judge denied her claims, in favour of Robin Thicke.

Patton presented allegations to a Los Angeles court that Thicke had spanked their six-year-old son Julian, requesting an emergency hearing to limit his joint custody. A source close to the case tells ET Canada the judge denied all of Patton’s claims.

RELATED: Robin Thicke Plans Memorial For Father Robin Thicke

In legal documents obtained by ET Canada, the 41-year-old “Mission: Impossible – Ghost Protocol” actress claims she has “become concerned about [Robin]’s drinking and drug use, as well as the forms of [corporal] punishment he is using to discipline Julian.”

Patton claims Julian showed her how his father spanked him and after she responded with an”ow”: “Julian said it was worse than that.”

In the “Blurred Lines” singer’s legal declaration obtained by ET Canada, he denies accusations of physical abuse, but admits to using “light spanking” as a “last resort.” “I have always used progressive discipline with Julian; primarily the use of ‘time outs,'” Thicke explains in the declaration. “On a very rare occasion, and only as a last resort, I will use light spanking, but it is consistent with the law — open hand on the butt.”

He insists he “never exceeded age-appropriate discipline” with his son.

RELATED: Paula Patton On Splitting Up With Ex Robin Thicke

Thicke further claims to have not had physical contact with Julian since Dec. 31. On Jan. 5, Patton allegedly told Thicke their son had informed school officials he had been spanked and that he was “scared” of his dad. His declaration says the school principal told Thicke the following day that a report had been made to L.A.’s Department of Children and Family Services (DCFS).

The singer says he and Julian spoke for the first time in four days on Jan. 9, saying “I love you” to one another. Thicke’s declaration also suggests he and Patton met with a DCFS social worker on Thursday afternoon.

Thicke says in his declaration that Patton is trying to get back at him for blocking her from attending the funeral of his late father, Alan Thicke.