As for Jesus crown of thorns I doubt the gospel writers thought of Judges 9.
I'm seeing a lot of parallel in theme that would seem quite suggestive. The thorny King offering shade or fiery destruction. The context where it appears was precisely the choosing of a King over the Israelites. As such it was unlikely to be unknown to the writer of Mark. Additionally we know the Gospel writers were aware of Judges 13 as it was used by Luke for the annunciation of the miraculous birth of Samson, as well as the most probable source for "he will be called a Nazarene" in Matt owing to the conflation of Nazarite with the city of Nazareth.
All this in my mind, 1.the familiarity of the Gospel writers with Judges, 2.the theme of this particular story about appointing a 'King of the Israelites' and 3. the description of him as a King who would use fiery destruction, convinces me the Gospel writers drew from Judges 9 for the story element of giving Jesus a crown of thorns and mockingly have him called "King of the Jews".
17 They put a purple robe on him, then twisted together a crown of thorns and set it on him. 18 And they began to call out to him, “Hail, king of the Jews!”