A Brooklyn Criminal Court clerk claims her boss asked if she “took any naked pictures” of herself and once referred to her as “one of those hot Latinas,” a harassment filing claims.

In the Manhattan Supreme Court petition, Judy Torres-Albert accuses John T. Dougherty, first deputy chief clerk for criminal matters in Brooklyn Supreme Court, of sexual harassment.

The filing, which asks for a reversal of a demotion Torres-Albert was given, alleges that Dougherty ­emailed her on Oct. 28, 2016, asking, “Do you have any bikini shots from the cruise?”

When Torres-Albert balked at the question and asked if Dougherty thought it was a “good idea” to be ­emailing inquiries about racy photos, Dougherty replied, “I’m looking for a suspension, 30 days would be nice!” the petition, filed Monday, alleges.

He also asked her if she “took any naked pictures,” she claims.

Torres-Albert, 56, alleges that in their interactions, Dougherty would say, “Judy, come here and sit on my lap.”

The papers were filed by the New York State Court Clerks Association against the State Unified Court System, on behalf of Torres-Albert.

Dougherty did not return messages.

Additional reporting by Nick Fugallo